package com.attendance.www.hr.dao.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.attendance.www.hr.beans.RequestAuthorityBean;
import com.attendance.www.hr.beans.RestVacationBean;

public interface RequestAuthorityExtMapper {

	List<RequestAuthorityBean> getRequestAuthorityList(@Param("requestAuthorityBean")RequestAuthorityBean requestAuthorityBean);
    
   	int count(@Param("requestAuthorityBean")RequestAuthorityBean requestAuthorityBean);
   	
   	//查询产假额度
   	int getHolidayQuota(@Param("regionType")Integer regionType, @Param("maternity")String maternity);
   	
   	Map<String,Object> getRequestAuthorityListByEmployeeId(@Param("restVacationBean")RestVacationBean restVacationBean);
}